package com.mgm.dao;

import com.mgm.pojo.Creative;
import com.mgm.pojo.CreativeExample;
import com.mgm.pojo.CreativeOfApp;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CreativeMapper {
    long countByExample(CreativeExample example);

    int deleteByExample(CreativeExample example);

    int deleteByPrimaryKey(String uid);

    int insert(Creative record);
    
    int insertBatch(List<Creative> list);

    int insertSelective(Creative record);

    List<Creative> selectByExample(CreativeExample example);

    Creative selectByPrimaryKey(String uid);

    int updateByExampleSelective(@Param("record") Creative record, @Param("example") CreativeExample example);

    int updateByExample(@Param("record") Creative record, @Param("example") CreativeExample example);

    int updateByPrimaryKeySelective(Creative record);

    int updateByPrimaryKey(Creative record);
}